@import "common.styl"
@import "vars.styl"

.list
  padding 50px
  .new-item
    float left
    width 370px
    height 372px
    margin-right 45px
    margin-bottom 45px
    padding 20px
    box-shadow 0 0 20px 0 rgba(190,190,190,0.6)
    transition all 0.3s linear
    &:nth-child(3n)
      margin-right 0
    &:hover
      transform scale(1.1)
    .new-img
      text-align center
      height 180px
      line-height 170px
      img
        width 100%
        height 100%
        object-fit cover
    .new-title
      padding 16px 0
      font-size 18px
      text-overflow ellipsis
      overflow hidden
      white-space nowrap

    .new-desc
      line-height 1.7
      color #666
      text-overflow ellipsis
      overflow hidden
      display -webkit-box
      -webkit-line-clamp 3
      -webkit-box-orient vertical
      height 70px

    .new-date
      font-size 12px
      text-align right
      margin-top 16px


